/* var emp={
	name:'dong',
	sex:'男'
} */
// console.log( emp.hasOwnProperty('eid') );
// console.log('eid' in emp);
/* 
var shop={
	title: 'macbook',
	jiege: 9999,
}
if('chandi' in shop){
	
}else{
	shop.chandi='china';
}
 if('jiege' in shop){
	shop.jiege+=1000;
}

console.log(shop);
 */
var tao={
	size:'XXL',
	color:'绿色'
}
//拷贝了一个地址
var dong=tao;
dong.size='XXXL';
dong.color='红色'
console.log(tao);
console.log(dong)
